package camuyen.ltwlibrary.util;

import javax.servlet.http.HttpSession;

public class ServletUtil {
	public static boolean isLoggedIn(HttpSession session) {
		Boolean isLoggedIn = (Boolean) session.getAttribute("isLoggedIn");
		if (isLoggedIn != null && isLoggedIn.booleanValue()) {
			return true;
		}
		return false;
	}
}
